// 泛型定义文件
// @Author: zhangdi
package repository

import (
	dbdto2 "server/application/db/system/dbdto"
	entity2 "server/application/db/system/entity"
)

type Entities interface {
	entity2.SysUser | entity2.SysMenu | entity2.SysRole | entity2.SysDictionary | entity2.SysRolePermissions
}

type DtoCreates interface {
	dbdto2.SysUserCreate | dbdto2.SysMenuCreate | dbdto2.SysRoleCreate | dbdto2.SysDictionaryCreate | dbdto2.SysRolePermissionsCreate
}

type DtoInfos interface {
	dbdto2.SysUserInfo | dbdto2.SysMenuInfo | dbdto2.SysRoleInfo | dbdto2.SysDictionaryInfo | dbdto2.SysRolePermissionsInfo
}

type DtoUpdates interface {
	dbdto2.SysUserUpdate | dbdto2.SysMenuUpdate | dbdto2.SysRoleUpdate | dbdto2.SysDictionaryUpdate | dbdto2.SysRolePermissionsUpdate
}
